package com.showcal.service.request;

import com.showcal.service.domain.MessageBusinessTypeEnum;
import com.xiniunet.framework.base.BaseRequest;

/**
 * Created by guzhixiong on 2015/11/16.
 */
public class IMMessageAddRequest extends BaseRequest {
    /**
     * 消息Id
     */
    private Long messageId;

    /**
     * 消息类型
     */

    private MessageBusinessTypeEnum type;
    /**
     * 消息类型
     */
    private String messageType;
    /**
     * 问题/答案ＩＤ
     */
    private Long serviceId;


    /**
     * 原用户ID 原用户ID
     */
    private Long fromUserId;

    /**
     * 发送的目标用户ID
     */
    private Long toUserId;

    /**
     * 消息体(保存json格式)
     */
    private String messageContent;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public MessageBusinessTypeEnum getType() {
        return type;
    }

    public void setType(MessageBusinessTypeEnum type) {
        this.type = type;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public Long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public Long getToUserId() {
        return toUserId;
    }

    public void setToUserId(Long toUserId) {
        this.toUserId = toUserId;
    }
}
